const { ccclass, property } = cc._decorator;

@ccclass
export default class TitleBar extends cc.Component {

    // LIFE-CYCLE CALLBACKS:

    onLoad() {

    }

    start() {

    }


    winClose() {
        electron.ipcRenderer.send('win:close');
    }

    winZoom() {
        electron.ipcRenderer.send('win:zoom');
    }

    winMin() {
        electron.ipcRenderer.send('win:min');
    }

    // update (dt) {}
}
